﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DebugAnts
{
    class Turn
    {
        public static int sizeRows, sizeCols = 100;
        public int turnNumber;
        public double turnTimeMS, birthTimeMS, updateViewTimeMS, behaviorTimeMS;
        public int nbHunter, nbTrooper, nbDefender;
        public float maxTurnScent;
        public List<List<Square>> grid;

        public Turn()
        {
            turnNumber = 0;
            nbHunter = nbTrooper = nbDefender = 0;
        }

        public Turn(int turnNumber_, double turnTimeMS_, double birthTimeMS_, double updateViewTimeMS_, double behaviorTimeMS_, int nbHunter_, int nbTrooper_, int nbDefender_, float maxTurnScent_, List<List<Square>> grid_)
        {
            turnNumber = turnNumber_;
            turnTimeMS = turnTimeMS_;
            birthTimeMS = birthTimeMS_;
            updateViewTimeMS = updateViewTimeMS_;
            behaviorTimeMS = behaviorTimeMS_;
            nbHunter = nbHunter_;
            nbTrooper = nbTrooper_;
            nbDefender = nbDefender_;
            maxTurnScent = maxTurnScent_;
            grid = grid_;
        }

        public void DefineSizes(int sizeRows_, int sizeCols_)
        {
            sizeRows = sizeRows_;
            sizeCols = sizeCols_;
        }
    }
}
